<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
    <title></title>
</head>

<body>
<!-- 	$变量|函数名1|函数名2=参数1,参数2,###… -->
shijian : <?php echo ($time); ?><br>
时间：<?php echo (date('Y-m-d　H:i:s',$time)); ?><br>
时间：<?php echo (date($time,'Y-m-d　H:i:s')); ?><<br>

截取转换大写：<?php echo (strtoupper(substr($str,0,5))); ?>

</body>
</html>